package com.sq.partner.manager.dao;

import java.util.List;
import java.util.Map;

import com.sq.partner.manager.mybatis.model.FacadeAppBeneficiary;

/**
 * 受益人Dao
 * @author zhouxiuxiu
 *
 */
public interface FacadeAppBeneficiaryDao extends BaseDao {
    /**
     * 获取客户号
     * 
     * @param string
     * @return
     * @throws Exception
     */
    public String queryNewSyrClientNo() throws Exception;

    /**
     * 插入受益人表
     * 
     * @param facadeAppBeneficiary
     * @throws Exception
     */
    public void insertFacadeAppBeneficiary(
            FacadeAppBeneficiary facadeAppBeneficiary) throws Exception;

    /**
     * 根据投保单号删除受益人信息
     * 
     * @param appNo
     * @return
     * @throws Exception
     */
    public void delFacadeAppBeneficiaryByAppNo(String appNo) throws Exception;
    
    /**
     * 查询受益人信息
     * 
     * @param map
     * @return list
     * @throws Exception
     */
    public List<FacadeAppBeneficiary> selectFacadeAppBeneficiaryByMap(
            Map<String, String> map) throws Exception;

}
